﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Ankha
{
    public abstract class MenuScreen : IScreen
    {
        //Fields
        public ScreenManager Manager
        {
            get;
            set;
        }

        //ctor
        public MenuScreen()
        {

        }

        //Methods
        protected abstract void InitMenu();
        protected abstract void LoadMenu();
        protected abstract void RenderMenu(SpriteBatch batch, GameTime time);
        protected abstract void UpdateMenu(InputControl input, GameTime time);

        public void Init()
        {
            InitMenu();
        }
        public void Load()
        {
            LoadMenu();
        }

        public void RenderScreen(SpriteBatch batch, GameTime time)
        {
            RenderMenu(batch, time);
        }
        public void UpdateScreen(InputControl input, GameTime time)
        {
            UpdateMenu(input, time);
        }
    }
}
